package com.project.mapper;

import com.project.bean.StudentBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IStudentMapper {
    public void add(StudentBean student);
    public void del(Integer id);
    public void update(@Param("sid") Integer id, @Param("sphone") String phone);
    public List<StudentBean> findAll();
    public StudentBean findById(Integer id);
}
